<%@ page import="FMainController.MYoungActionBean" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
MYoungActionBean[] bulletindata = (MYoungActionBean[])request.getAttribute("bulletindata");
MYoungActionBean[] photodata = (MYoungActionBean[])request.getAttribute("photodata");

String Mem_Nick = (String)session.getAttribute("Mem_Nick");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script src="/KOMORIUTA/Applications/Young/Fm_AppYoung.js" type="text/JavaScript"></script>
<script language="JavaScript" type="text/javascript" src="/KOMORIUTA/Main/YoungMain/Js/young_Script.js"></script>
<link rel="STYLESHEET" type="text/css" href="/KOMORIUTA/Main/YoungMain/Css/youngMain_Css.css">
<style type="text/css">
a:link, a:visited, a:active{color: black; text-decoration:none;}
a:hover{text-decoration:underline;}
</style>
</head>
<body bgproperties="fixed" oncontextmenu="return false" ondragstart="return false" onselectstart="return false">
<%--
<div style=" position:absolute; top: 154px; width: 700px; height: 300px; border-color: red; border: 2px;">
<jsp:include page="movie.jsp"></jsp:include>
</div>
 --%>
<table width="700" cellpadding="0" cellspacing="0" >
	<tr>
		<td><jsp:include page="movie1.jsp"/></td>
	</tr>
</table>
<br/>

<table width="700" cellpadding="0" cellspacing="0">
	<tr>
		<td valign="top">
			<table width="340" cellpadding="0" cellspacing="0" style="border: 1px solid #0f89d2">
				<tr>
					<td colspan="2">
						<A HREF=javascript:cm_free_list()>
						<img alt="" src="<%=request.getContextPath() %>/Main/image/Content_commu.png">
						</A>
					</td>
				</tr>
				
				<% for(int i=0; i<bulletindata.length; i++){ %>
	        	<tr>
	        		<td height="25" width="100" align="center" style="font-size: 14px;"><%=bulletindata[i].getB_Date() %></td>
		          	
		          	<td align="left" onmouseover="this.style.backgroundColor='0f89d2'" onmouseout="this.style.backgroundColor=''">
		          		<div style="width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; ">
		          		<a href=javascript:newcommunity("<%=bulletindata[i].getID()%>","<%=Mem_Nick%>")><%=bulletindata[i].getTitle() %> </a>		          		
		          		</div>
		          	</td>
		          	
		          	
				</tr>
				<% } %>
				<tr>
					<td>
					
					</td>
				</tr>
			</table>
		</td>
		
		<td width="20">&nbsp;</td>
		
		<td>
			<table width="340" cellpadding="0" cellspacing="0" style="border: 1px solid #0f89d2">
				<tr>
					<td colspan="2">
						<A HREF=javascript:pt_free_list()>	
						<img alt="" src="<%=request.getContextPath() %>/Main/image/Content_photo.png">
						</A>
					</td>
				</tr>
				<%for(int i=0; i<photodata.length; i++){ %>
				<tr> 
					<td height="25" width="100" align="center" style="font-size: 14px;"><%=photodata[i].getPo_Date() %></td>
					
					<td align="left" onmouseover="this.style.backgroundColor='0f89d2'" onmouseout="this.style.backgroundColor=''">
						<div style="width:250px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; ">
						<a href=javascript:newphoto("<%=photodata[i].getID()%>","<%=Mem_Nick%>")><%=photodata[i].getPo_Title() %></a>
						</div>
					</td>
					
					
				</tr>
				<%} %>
			</table>
		</td>
	</tr>
</table>
</body>
</html>